<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Packaging a Documentation
Distribution</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"/><LINK
REL="HOME"
TITLE="Cygwin/X Contributor's Guide"
HREF="cygwin-x-cg.html"/><LINK
REL="UP"
TITLE="Documentation"
HREF="documentation.html"/><LINK
REL="PREVIOUS"
TITLE="Building the Documentation"
HREF="docs-build.html"/><LINK
REL="NEXT"
TITLE="Web Site Maintenance"
HREF="website.html"/><META
HTTP-EQUIV="Content-Type"
CONTENT="text/html;charset=utf-8"/></HEAD
><BODY
CLASS="sect1"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Cygwin/X Contributor's Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="docs-build.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 3. Documentation</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="website.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"/></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="docs-distribution"
>Packaging a Documentation
Distribution</A
></H1
><P
>Follow these instructions to build a Cygwin/X documentation
source code distribution:</P
><OL
TYPE="1"
><LI
><P
>Edit the version tag in the file <TT
CLASS="filename"
>configure.ac</TT
> to
indicate a new version.  The line containing the version tag should look
like:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="programlisting"
>&#13;AC_INIT(cygwin-x-doc, 1.0.0)
</PRE
></TD
></TR
></TABLE
></LI
><LI
><P
>&#13;Commit this change to <B
CLASS="command"
>git</B
> and apply an appropriate tag:

<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="screen"
>&#13;Username@CygwinHost ~/cygwin-x-doc-1.0.0
$ git add configure.ac
Username@CygwinHost ~/cygwin-x-doc-1.0.0
$ git commit -m "Bump version to 1.0.0"
[...]
Username@CygwinHost ~/cygwin-x-doc-1.0.0
$ git tag VERSION_1_0_0
</PRE
></TD
></TR
></TABLE
>

</P
></LI
><LI
><P
>Change the current directory to the documentation source code
build directory:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="screen"
>&#13;Username@CygwinHost ~/cygwin-x-doc-1.0.0
$ cd cygwin-x-doc-1.0.0/build

Username@CygwinHost ~/cygwin-x-doc-1.0.0/build
$
</PRE
></TD
></TR
></TABLE
></LI
><LI
><P
>Build the documentation source code distribution:</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="screen"
>&#13;Username@CygwinHost ~/cygwin-x-doc-1.0.0/build
$ make distcheck
</PRE
></TD
></TR
></TABLE
></LI
><LI
><P
>The documentation source code distribution should now be
contained in the current directory in a file called
<TT
CLASS="filename"
>cygwin-x-doc-1.0.0.tar.bz2</TT
>.</P
></LI
><LI
><P
>Packaging the documentation is now complete.</P
></LI
></OL
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"/><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="docs-build.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="cygwin-x-cg.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="website.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Building the Documentation</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="documentation.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Web Site Maintenance</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>